/*!
 * tykhome - config.js
 * Author tykhome <yongketian@gmail.com>
 */


/**
 * config
 */
var path = require('path');
var pkg = require('../package.json');

var config = {
	debug: true,
	name: pkg.name,
	description: pkg.description,
	version: pkg.version,

	user: {
		admin : '',
		// 匿名用户
		anonymous : 'Anonymous'
	},

	db: "mongodb://localhost/tykhome",
	session: {
		secret: "xdsfagrigjkroigjirjgrojiegje"
	},
	auth_cookie_name: 'tykhome',
	app: {
		port: 8888,
		securePort: 443,
		viewEngine: "jade"
	},

	weixin: {
		appID: "wx32149df9290ce58d",
		appsecret: "906a3c586dcacbf825ff2d2ea8e86d92",
		token: "doog"
	}
};

module.exports = config;
module.exports.config = config;

